package com.bw.app.controller;


import com.bw.app.service.service;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@MapperScan("com.bw.app.mapper")
public class Hello_con {
    @Autowired
    private service service;
    @RequestMapping("/hello")
    public String helloworld()
    {
        return service.helloworld();
    }


}
